//配置数据的结构
const { Schema, model } = require('mongoose');
const thingListSchema = new Schema({
  thingName: String,
  thingBrand:String,
  thingType:String,
  thingUnit:String,
  thingNote:String,
  thingState:Boolean,
  thingState1:Boolean,
  joinPackName:String,
  joinPackMaterial:String,

}, { versionKey: false });
//配置数据模型
const thingListModel = model('thingListsModel', thingListSchema, 'thingList');

//把配置的数据模型暴露出去
module.exports={
    thingListModel
}